<ngx-select
  [allowClear]="false"
  [items]="optionList()"
  optionValueField="value"
  optionTextField="name"
  [formControl]="control()"
  [size]="'small'"
>
  <ng-template ngx-select-option ngx-select-option-selected let-option let-text="text">
    @if (option.data.icon) {
      <img width="16" height="16" [src]="'assets/img/' + option.data.icon" />
      &nbsp;
    }
    <span [innerHtml]="text"></span>
  </ng-template>

  <ng-template ngx-select-option-not-found let-input> "{{ input }}" not found </ng-template>
</ngx-select>
